      <section id="content">
        <?php foreach ($users as $item): ?>
        <div class="box-mini">
          <h2><?php echo $item->firstname .' '. $item->lastname; ?></h2>
          <ul class="menu">
            <li><a>Fotografií: <?php echo $item->photo_user->count_all(); ?></a></li>
            <li><a>Komentářů: <?php echo $item->comments_photo->count_all(); ?></a></li>
          </ul>          
          <div class="box-mini-bottom"></div>
        </div>
        <?php endforeach ?>
      </section>